package com.zhongyouyun.admin.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author: shenyi
 * @Date: 2022-11-14
 * @Description: 
 */

@JsonInclude(JsonInclude.Include.NON_NULL)
@Accessors(chain = true)
@ApiModel(value="SiteListModel对象", description="")
@Data
@TableName("z_site_list")
public class SiteListModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "链接地址")
    @TableField("site_url1")
    private String siteUrl1;

    @ApiModelProperty(value = "系统地址")
    @TableField("open_url")
    private String openUrl;

    @ApiModelProperty(value = "退出地址")
    @TableField("out_url")
    private String outUrl;


    @ApiModelProperty(value = "关联字段")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty(value = "应用名")
    @TableField("site_name")
    private String siteName;

    @ApiModelProperty(value = "应用图片")
    @TableField("site_class")
    private String siteClass;

    @ApiModelProperty(value = "应用图片ID")
    @TableField("file_id")
    private Integer fileId;

    @ApiModelProperty(value = "是否置顶")
    @TableField("in_zhiding")
    private String inZhiding;

    @ApiModelProperty(value = "是否使用")
    @TableField("in_use")
    private String inUse;

    @ApiModelProperty(value = "是否开启单点登录")
    @TableField("in_oatuh")
    private String inOatuh;

    @ApiModelProperty(value = "排序")
    @TableField("order_number")
    private Integer orderNumber;

    @ApiModelProperty(value = "地址2")
    @TableField("site_url2")
    private String siteUrl2;

    @ApiModelProperty(value = "创建人")
    @TableField("createBy")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("updateBy")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("updateTime")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;


}